-- GENERATED SPELL FOR [Howling Cyclone] --


function spell0_24229(pUnit, Event) --@Call Lightning,n/a--
pUnit:FullCastSpellOnTarget(32018,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24229', 558, 1)
end

function Sorts_24229(pUnit, Event)
local choix_sorts_24229 = math.random(0, 0)
if choix_sorts_24229 == 0 then
pUnit:RegisterEvent('spell0_24229', 1, 1)
end
end

function mob24229_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24229', math.random(1500, 3000), 1)
end

function mob24229_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24229_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24229_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24229, 1, 'mob24229_Action')
RegisterUnitEvent(24229, 2, 'mob24229_Leave')
RegisterUnitEvent(24229, 3, 'mob24229_Kill')
RegisterUnitEvent(24229, 4, 'mob24229_Die')
